package models;

import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;

import play.data.validation.Required;
import play.db.jpa.Model;

/**
 * Class for table Library.
 * 
 * @author Elisa
 */
@Entity
public class Library extends Model {
    
	@Required
	@ManyToOne
	public User user;
	
	public Book book;
	
	@Lob
	public String comment;
	
}
